<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Document   : users
    Created on : 26.11.2008, 16:25:01
    Author     : Jaroslav
-->
<jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <webuijsf:page binding="#{users.page1}" id="page1">
            <webuijsf:html binding="#{users.html1}" id="html1">
                <webuijsf:head binding="#{users.head1}" id="head1">
                    <webuijsf:link binding="#{users.link1}" id="link1" url="/resources/stylesheet.css"/>
                </webuijsf:head>
                <webuijsf:body binding="#{users.body1}" id="body1" style="-rave-layout: grid">
                    <webuijsf:form binding="#{users.form1}" id="form1">
                        <webuijsf:table augmentTitle="false" binding="#{users.table1}" id="table1"
                            style="left: 24px; top: 240px; position: absolute; width: 768px" title="Pužívatelia" width="768">
                            <webuijsf:tableRowGroup binding="#{users.tableRowGroup1}" id="tableRowGroup1" rows="5" sourceData="#{users.userArr}" sourceVar="currentRow">
                                <webuijsf:tableColumn binding="#{users.userName}" headerText="Používateľské meno" id="userName" sort="userName">
                                    <webuijsf:staticText binding="#{users.staticText4}" id="staticText4" text="#{currentRow.value['userName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn binding="#{users.firstName}" headerText="Meno" id="firstName" sort="firstName">
                                    <webuijsf:staticText binding="#{users.staticText6}" id="staticText6" text="#{currentRow.value['firstName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn binding="#{users.lastName}" headerText="Priezvisko" id="lastName" sort="lastName">
                                    <webuijsf:staticText binding="#{users.staticText7}" id="staticText7" text="#{currentRow.value['lastName']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn binding="#{users.tableColumn8}" headerText="E-mail" id="tableColumn8" sort="email">
                                    <webuijsf:staticText binding="#{users.staticText8}" id="staticText8" text="#{currentRow.value['email']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn headerText="Úroveň" id="tableColumn3" sort="level">
                                    <webuijsf:staticText id="staticText1" text="#{currentRow.value['level']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn align="center" id="tableColumn1" width="26">
                                    <webuijsf:button actionExpression="#{users.zmen_action}" binding="#{users.zmen}" id="zmen" imageURL="/resources/edit.jpg" text="#{currentRow.value['userId']}"/>
                                </webuijsf:tableColumn>
                                <webuijsf:tableColumn align="center" id="tableColumn2" width="17">
                                    <webuijsf:button actionExpression="#{users.zmaz_action}" binding="#{users.zmaz}" id="zmaz" imageURL="/resources/delete.png" text="#{currentRow.value['userId']}"/>
                                </webuijsf:tableColumn>
                            </webuijsf:tableRowGroup>
                        </webuijsf:table>
                        <div style="left: 0px; top: 0px; position: absolute">
                            <jsp:directive.include file="resources/logo_loggedIn.jspf"/>
                        </div>
                        <webuijsf:label id="label1" style="font-size: 14px; left: 336px; top: 96px; position: absolute" text="Používatelia"/>
                        <webuijsf:image id="image1" style="left: 0px; top: 120px; position: absolute" url="/resources/bar.png"/>
                        <webuijsf:label id="label2" style="left: 48px; top: 144px; position: absolute" text="Používateľské meno:"/>
                        <webuijsf:label id="label3" style="left: 360px; top: 168px; position: absolute" text="Priezvisko:"/>
                        <webuijsf:label id="label4" style="left: 360px; top: 144px; position: absolute" text="Meno:"/>
                        <webuijsf:label id="label5" style="left: 48px; top: 192px; position: absolute" text="E-mail:"/>
                        <webuijsf:textField binding="#{users.usrLogin}" id="usrLogin" style="position: absolute; left: 192px; top: 144px"/>
                        <webuijsf:textField binding="#{users.usrEmail}" id="usrEmail" style="left: 192px; top: 192px; position: absolute"/>
                        <webuijsf:textField binding="#{users.usrMeno}" id="usrMeno" style="left: 432px; top: 144px; position: absolute"/>
                        <webuijsf:textField binding="#{users.usrPriezv}" id="usrPriezv" style="left: 432px; top: 168px; position: absolute"/>
                        <webuijsf:button actionExpression="#{users.button1_action}" id="button1"
                            style="height: 24px; left: 647px; top: 168px; position: absolute; width: 96px" text="Pridať"/>
                        <webuijsf:image id="image2" style="left: 0px; top: 216px; position: absolute" url="/resources/bar.png"/>
                        <webuijsf:dropDown binding="#{users.usrLevel}" id="usrLevel" items="#{users.usrLevelDefaultOptions.options}" style="left: 432px; top: 192px; position: absolute"/>
                        <webuijsf:label id="label6" style="left: 360px; top: 192px; position: absolute" text="Úroveň:"/>
                        <webuijsf:label id="label7" style="position: absolute; left: 48px; top: 168px" text="Heslo:"/>
                        <webuijsf:textField binding="#{users.usrHeslo}" id="usrHeslo" style="position: absolute; left: 192px; top: 168px"/>
                    </webuijsf:form>
                </webuijsf:body>
            </webuijsf:html>
        </webuijsf:page>
    </f:view>
</jsp:root>
